import service from '@/utils/request'

// @Tags LargeScaleOrderSize
// @Summary 创建大办单-尺寸
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSize true "创建大办单-尺寸"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderSize/createLargeScaleOrderSize [post]
export const createLargeScaleOrderSize = (data) => {
  return service({
    url: '/largeScaleOrderSize/createLargeScaleOrderSize',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderSize
// @Summary 删除大办单-尺寸
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSize true "删除大办单-尺寸"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSize/deleteLargeScaleOrderSize [delete]
export const deleteLargeScaleOrderSize = (params) => {
  return service({
    url: '/largeScaleOrderSize/deleteLargeScaleOrderSize',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSize
// @Summary 批量删除大办单-尺寸
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单-尺寸"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSize/deleteLargeScaleOrderSize [delete]
export const deleteLargeScaleOrderSizeByIds = (params) => {
  return service({
    url: '/largeScaleOrderSize/deleteLargeScaleOrderSizeByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSize
// @Summary 更新大办单-尺寸
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSize true "更新大办单-尺寸"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderSize/updateLargeScaleOrderSize [put]
export const updateLargeScaleOrderSize = (data) => {
  return service({
    url: '/largeScaleOrderSize/updateLargeScaleOrderSize',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderSize
// @Summary 用id查询大办单-尺寸
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderSize true "用id查询大办单-尺寸"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderSize/findLargeScaleOrderSize [get]
export const findLargeScaleOrderSize = (params) => {
  return service({
    url: '/largeScaleOrderSize/findLargeScaleOrderSize',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderSize
// @Summary 分页获取大办单-尺寸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单-尺寸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderSize/getLargeScaleOrderSizeList [get]
export const getLargeScaleOrderSizeList = (params) => {
  return service({
    url: '/largeScaleOrderSize/getLargeScaleOrderSizeList',
    method: 'get',
    params
  })
}
